<h2>Student Control Panel</h2>
<h3>{$user->firstname} {$user->lastname}</h3>

<h4>Classes:</h4>
<ul>
    {if count($classes) == 0}
    <li>You are not currently registered in any classes.</li>
    {else}
    {foreach from=$classes item=class}
    <li><a href="{$siteRoot}/student/class?cid={$class->classid}>{$class->name}</a></li>
    {/foreach}
    {/if}
</ul>
